﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Home.Master" Inherits="System.Web.Mvc.ViewPage<SDT.Site.ViewModels.CompanyIndexModels>" %>
<%@ Import Namespace="SDT.Lib.Paging" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%foreach (var t in Model.CompanyTypies)
   {
       Response.Write(Html.Encode(t.Name) + " | ");
   } %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="clear"></div>
<div><a href="/home">Trang chủ</a>&nbsp;<img src="/images/ftc/next.gif" width="7" height="7" />Doanh nghiệp</div>
<div class="line"></div>
 <% Html.RenderAction("GetTop", "Company", new { number = 5, skip = 0, typeid = 0, title = "Doanh nghiệp mới", order = "ID", orderDir = "desc" }); %>
 <div class="clear"></div>
 <% Html.RenderAction("LastedLeftTop", "Banner", new { posid = 2, menuid = 0, number = 0, width = 691, height = 91, order = "Priority", orderDir = "asc" }); %>
 <div class="clear"></div>
 <%foreach (var item in Model.CompanyTypies)
   { %>
   <% Html.RenderAction("GetByCat", "Company", new { number = 7, typeid = item.ID, title = item.Name, order = "ID", orderDir = "desc" }); %>
 <%} %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContent" runat="server">
    <% Html.RenderAction("LastedRightTop", "Banner", new { posid = 5, menuid = 0, number = 0, width = 280, height = 250, order = "Priority", orderDir = "asc" }); %>
    <%--<% Html.RenderAction("Lasted", "Video", new { catid = 0, number = 3, title = string.Empty }); %>--%>
    <div class="clear">
    </div>
<%--    <% Html.RenderAction("Lasted", "Useful", new { number = 9 }); %>
    <div class="clear">
    </div>--%>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Article", new { number = 3, skip = 0, catid = SDT.Model.ConfigManager.GetChuyengiaPhantich(), title = "Chuyên gia phân tích", order = "ID", orderDir = "desc" }); %>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Article", new { number = 3, skip = 0, catid = SDT.Model.ConfigManager.GetNhacuasao(), title = "Nhà của sao", order = "ID", orderDir = "desc" }); %>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Readers", new { number = 3, skip = 0, catid = SDT.Model.ConfigManager.GetReaders(), title = "Góc bạn đọc", order = "ID", orderDir = "desc" }); %>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Article", new { number = 5, skip = 0, catid = SDT.Model.ConfigManager.GetCamnangMuaban(), title = "Cẩm nang mua bán", order = "ID", orderDir = "desc" }); %>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Article", new { number = 5, skip = 0, catid = SDT.Model.ConfigManager.GetCamnangNhadautu(), title = "Cẩm nang nhà đầu tư", order = "ID", orderDir = "desc" }); %>
    <div class="clear">
    </div>
    <% Html.RenderAction("NewestByCat", "Article", new { number = 5, skip = 0, catid = SDT.Model.ConfigManager.GetCamnangMoigioi(), title = "Cẩm nang nhà môi giới", order = "ID", orderDir = "desc" }); %>
    <div class="mar_t">
        <% Html.RenderAction("LastedRightCenter", "Banner", new { posid = 6, menuid = 0, number = 0, width = 280, height = 250, order = "Priority", orderDir = "asc" }); %>
    </div>
    <div class="mar_t">
        <% Html.RenderAction("LastedRightBottom", "Banner", new { posid = 7, menuid = 0, number = 0, width = 280, height = 250, order = "Priority", orderDir = "asc" }); %>
    </div>
</asp:Content>